/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.datav.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.datav.entity.DataMap;
import com.jeeplus.modules.datav.mapper.DataMapMapper;

/**
 * 地图Service
 * @author 刘高峰
 * @version 2021-04-11
 */
@Service
@Transactional(readOnly = true)
public class DataMapService extends CrudService<DataMapMapper, DataMap> {

	public DataMap get(String id) {
		return super.get(id);
	}
	
	public List<DataMap> findList(DataMap dataMap) {
		return super.findList(dataMap);
	}
	
	public Page<DataMap> findPage(Page<DataMap> page, DataMap dataMap) {
		return super.findPage(page, dataMap);
	}
	
	@Transactional(readOnly = false)
	public void save(DataMap dataMap) {
		super.save(dataMap);
	}
	
	@Transactional(readOnly = false)
	public void delete(DataMap dataMap) {
		super.delete(dataMap);
	}
	
}